package com.th.supcom.pds.internal.client.common;

import com.google.gwt.core.client.GWT;
import com.th.supcom.pds.internal.client.service.MedicareCardRpc;
import com.th.supcom.pds.internal.client.service.MedicareCardRpcAsync;
import com.th.supcom.pds.internal.client.service.PdsCommonRpc;
import com.th.supcom.pds.internal.client.service.PdsCommonRpcAsync;

/**
 * PTS子系统公用模块前端UI RPC服务工厂.
 * 
 */
public final class PdsInternalServiceFactory
{
    /** RPC请求路径. */
    public static final String BASE_URL = "../pds/";

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    public static MedicareCardRpcAsync getMedicareCardService ()
    {
        return GWT.create (MedicareCardRpc.class);
    }

    public static PdsCommonRpcAsync getPdsCommonService ()
    {
        return GWT.create (PdsCommonRpc.class);
    }

    private PdsInternalServiceFactory ()
    {

    }
}